<%@Page Language = "C#" Debug="true" %> 


<script language="C#" runat="server"> 
    void Page_Load()
    {
        switch (Request.Params["value"])
        {
            case "Contacts":
                Response.Write("box1|<br><b>Contacts</b><br>William Moe 1, Acacia Avenue<br>Jane Doe, 2 Willow Tree Lane");
                break;
            case "Calendar":
                string dt = DateTime.Now.ToString();
                Response.Write("box2|<br><b>Calendar:</b><br>" + dt);
                break;
            case "Adverts":
                string source = "wrox_logo.gif";
                Response.Write("box3|<br><b>Advert:</b><br><img src='" + source + "'>");
                break;
        }
    }
</script>



